package com.gugee.ins.common.model.spider.blogger;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.ToString;

/**
 *
 * @author Huangxin
 */
@Data
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class InsBloggerUserFromUsername {
    private String id;
    private String biography;

    @JsonProperty("external_url")
    private String externalUrl;

    @JsonProperty("edge_followed_by")
    private BloggerFollowed edgeFollowedBy;

    private String fbid;

    @JsonProperty("edge_follow")
    private BloggerFollowing edgeFollow;

    @JsonProperty("full_name")
    private String fullName;



    @JsonProperty("is_business_account")
    private Boolean isBusinessAccount;

    @JsonProperty("business_category_name")
    private String businessCategoryName;

    @JsonProperty("overall_category_name")
    private String overallCategoryName;

    @JsonProperty("category_enum")
    private String categoryEnum;

    @JsonProperty("category_name")
    private String categoryName;

    @JsonProperty("is_private")
    private Boolean isPrivate;

    @JsonProperty("is_verified")
    private Boolean isVerified;

    @JsonProperty("profile_pic_url")
    private String profilePicUrl;

    private String username;

    @JsonProperty("edge_felix_video_timeline")
    private IgtvEdge edgeFelixVideoTimeline;

    @JsonProperty("edge_owner_to_timeline_media")
    private MediaEdge edgeOwnerToTimelineMedia;

    public static class BloggerFollowed{
        private Long count;
        public void setCount(Long count) {
            this.count = count;
        }
        public Long getCount() {
            return count;
        }
    }

    public static class BloggerFollowing{
        private Integer count;
        public void setCount(Integer count) {
            this.count = count;
        }
        public Integer getCount() {
            return count;
        }
    }

    public static class IgtvEdge{
        private Integer count;
        public void setCount(Integer count) {
            this.count = count;
        }
        public Integer getCount() {
            return count;
        }
    }

    public static class MediaEdge{
        private Integer count;
        public void setCount(Integer count) {
            this.count = count;
        }
        public Integer getCount() {
            return count;
        }
    }
}
